function VecEditors1Temp=ReplaceMissingValues(VecEditors1Temp,VecResults1,VecResults2,VecResults3)

for n1=1:size(VecEditors1Temp,1)
    if size(VecEditors1Temp{n1,18},2)==0||ischar(VecEditors1Temp{n1,18})==1
        if size(VecEditors1Temp{n1,19},2)>=1&&ischar(VecEditors1Temp{n1,19})==0
            VecEditors1Temp(n1,18)={VecEditors1Temp{n1,19}-round(VecResults1(1,end))};
        else
            if size(VecEditors1Temp{n1,20},2)>=1&&ischar(VecEditors1Temp{n1,20})==0
                VecEditors1Temp(n1,18)={VecEditors1Temp{n1,20}-round(VecResults1(1,end)+VecResults2(1,end))};
            else
                if size(VecEditors1Temp{n1,22},2)>=10
                    ValueTemp=VecEditors1Temp{n1,22};
                    ValueTemp2=find(ValueTemp=='/');
                    ValueStart=str2num(ValueTemp(1,ValueTemp2(1,end)+1:end));
                    VecEditors1Temp(n1,18)={ValueStart-round(VecResults1(1,end)+VecResults2(1,end)+VecResults3(1,end))};
                else
                    if size(VecEditors1Temp{n1,5},2)>=10
                        ValueTemp=VecEditors1Temp{n1,5};
                        ValueTemp2=find(ValueTemp=='/');
                        ValueStart=str2num(ValueTemp(1,ValueTemp2(1,end)+1:end));
                        VecEditors1Temp(n1,18)={ValueStart-round(VecResults1(1,end)+VecResults2(1,end)+VecResults3(1,end))};
                    else
                        if size(VecEditors1Temp{n1,3},2)>=10
                            ValueTemp=VecEditors1Temp{n1,3};
                            ValueTemp2=find(ValueTemp=='/');
                            ValueStart=str2num(ValueTemp(1,ValueTemp2(1,end)+1:end));
                            VecEditors1Temp(n1,18)={ValueStart-round(VecResults1(1,end)+VecResults2(1,end)+VecResults3(1,end))};
                        end
                    end
                end
            end
        end
    end
    if size(VecEditors1Temp{n1,19},2)==0||ischar(VecEditors1Temp{n1,19})==1
        if size(VecEditors1Temp{n1,20},2)>=1&&ischar(VecEditors1Temp{n1,20})==0
            VecEditors1Temp(n1,19)={VecEditors1Temp{n1,20}-round(VecResults2(1,end))};
        else
            if size(VecEditors1Temp{n1,18},2)>=1&&ischar(VecEditors1Temp{n1,18})==0
                VecEditors1Temp(n1,19)={VecEditors1Temp{n1,18}+round(VecResults1(1,end))};
            else
                if size(VecEditors1Temp{n1,22},2)>=10
                    ValueTemp=VecEditors1Temp{n1,22};
                    ValueTemp2=find(ValueTemp=='/');
                    ValueStart=str2num(ValueTemp(1,ValueTemp2(1,end)+1:end));
                    VecEditors1Temp(n1,19)={ValueStart-round(VecResults2(1,end)+VecResults3(1,end))};
                else
                    if size(VecEditors1Temp{n1,5},2)>=10
                        ValueTemp=VecEditors1Temp{n1,5};
                        ValueTemp2=find(ValueTemp=='/');
                        ValueStart=str2num(ValueTemp(1,ValueTemp2(1,end)+1:end));
                        VecEditors1Temp(n1,19)={ValueStart-round(VecResults2(1,end)+VecResults3(1,end))};
                    else
                        if size(VecEditors1Temp{n1,3},2)>=10
                            ValueTemp=VecEditors1Temp{n1,3};
                            ValueTemp2=find(ValueTemp=='/');
                            ValueStart=str2num(ValueTemp(1,ValueTemp2(1,end)+1:end));
                            VecEditors1Temp(n1,19)={ValueStart-round(VecResults2(1,end)+VecResults3(1,end))};
                        end
                    end
                end
            end
        end
    end
    if size(VecEditors1Temp{n1,20},2)==0||ischar(VecEditors1Temp{n1,20})==1
        if size(VecEditors1Temp{n1,19},2)>=1&&ischar(VecEditors1Temp{n1,19})==0
            VecEditors1Temp(n1,20)={VecEditors1Temp{n1,19}+round(VecResults2(1,end))};
        else
            if size(VecEditors1Temp{n1,18},2)>=1&&ischar(VecEditors1Temp{n1,18})==0
                VecEditors1Temp(n1,20)={VecEditors1Temp{n1,18}+round(VecResults1(1,end)+VecResults2(1,end))};
            else
                if size(VecEditors1Temp{n1,22},2)>=10
                    ValueTemp=VecEditors1Temp{n1,22};
                    ValueTemp2=find(ValueTemp=='/');
                    ValueStart=str2num(ValueTemp(1,ValueTemp2(1,end)+1:end));
                    VecEditors1Temp(n1,20)={ValueStart-round(VecResults3(1,end))};
                else
                    if size(VecEditors1Temp{n1,5},2)>=10
                        ValueTemp=VecEditors1Temp{n1,5};
                        ValueTemp2=find(ValueTemp=='/');
                        ValueStart=str2num(ValueTemp(1,ValueTemp2(1,end)+1:end));
                        VecEditors1Temp(n1,20)={ValueStart-round(VecResults3(1,end))};
                    else
                        if size(VecEditors1Temp{n1,3},2)>=10
                            ValueTemp=VecEditors1Temp{n1,3};
                            ValueTemp2=find(ValueTemp=='/');
                            ValueStart=str2num(ValueTemp(1,ValueTemp2(1,end)+1:end));
                            VecEditors1Temp(n1,20)={ValueStart-round(VecResults3(1,end))};
                        end
                    end
                end
            end
        end
    end
end